package com.cq.hd.common.utils;

import java.util.UUID;

/**
 * @description:
 * @author: mYunYu
 * @date: 2021/8/13 11:58
 * @version: v1.0
 */
public class MqMsgUtil {

    public static String getMsg(String tradeId){
        if(StringUtils.isBlank(tradeId)){
            return UUID.randomUUID().toString().toUpperCase();
        }
        return tradeId + "-" + UUID.randomUUID().toString().toUpperCase();
    }

}
